﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FwProject.Statistics.Dto
{
    /// <summary>
    /// 销售收入统计模型
    /// </summary>
    public class SalesRevenueOutputDto
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNumber { get; set; }

        /// <summary>
        /// 订单金额
        /// </summary>
        public decimal PayTotal { get; set; }

        /// <summary>
        /// 下单时间
        /// </summary>
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 明细
        /// </summary>
        public List<SalesRevenueDetilsDto> SalesRevenueDetils { get; set; }
    }

    public class SalesRevenueDetilsDto
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public string ShopProductName { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        public int ProductCount { get; set; }

        /// <summary>
        /// 商品单价
        /// </summary>
        public decimal PayPrice { get; set; }
    }
}
